.layer {
    width: 600px;
    height: 200px;
    background-color: green;
}
.layer div{
    width: 400px;
    height: 100px;
    background-color: red;
}